//
//  ResidentManagementItemView.swift
//  PropertyCommunity
//
//  Created by benwang on 2021/7/3.
//

import UIKit

class ResidentManagementItemView: UIView {

  @IBOutlet weak var unitLabel: UILabel!

  @IBOutlet weak var nameLabel: UILabel!

  @IBOutlet weak var phoneLabel: UILabel!

  var model: ResidentManagementModel? {
    didSet {
      unitLabel.text = model?.unit
      nameLabel.text = model?.name
      phoneLabel.text = model?.phone
    }
  }

  /*
    // Only override draw() if you perform custom drawing.
    // An empty implementation adversely affects performance during animation.
    override func draw(_ rect: CGRect) {
        // Drawing code
    }
    */

}
